﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AuditModel
{
    public partial class Score
    {

        public Nullable<global::System.Decimal> TotalScore
        {
            get { return this.MaterialScore + this.InstructionScore + this.DefenseScore + this.OtherScore; }
        }
    }

    public partial class Archive
    {
        //public string TeacherName
        //{
        //    get {return this.Teacher==null?"":this.Teacher.Name; }
        //}
        //public string Grade
        //{
        //    get { return this.Teacher.}
        //}
        //public string SchoolName
        //{
        //    get { return this.Teacher == null ? "" : this.Teacher.CurrentSchool; }
        //}
        //public string SchoolAddress
        //{
        //    get { return this.Teacher == null ? "" : this.Teacher.SchoolAddress; }
        //}
        //public string CountyName
        //{
        //    get { return this.Teacher == null ? "" : this.County.Name; }
        //}
    }
}
